<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0">  -->
    <!-- <meta name="viewport" content="width=800, initial-scale=2.0,minimum-scale=2.0">  -->
    <meta 
        name="viewport" 
        content="width=device-width, initial-scale=1.0,maximum-scale=2.0, user-scalable=yes"> 
    

        <title>Document</title>
        <link rel="stylesheet" href="css/normalize.css">
        <script>
            (function (doc, win) {
                var docEl = doc.documentElement,
                    resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
                    recalc = function () {
                        var clientWidth = docEl.clientWidth;
                        if (!clientWidth) return;
                        docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
                    };
                if (!doc.addEventListener) return;
                win.addEventListener(resizeEvt, recalc, false);
                doc.addEventListener('DOMContentLoaded', recalc, false);
            })(document, window);
    
        </script>

    <style>
        .box1 {
            width:375px;
            height:100px;
            box-sizing: content-box;
            font-size: 12px;
            background:red;
            /* border:10px solid green;
            padding:10px; */
            /* margin:10px; */
            /* padding:10px */
        }

        .box1 a {
            -webkit-tap-highlight-color:transparent;
            
        }
        img, a { -webkit-touch-callout: none;}
       
    </style>
</head>
<body>
    <div class="box1">
        <a href="#"/>点击背景高亮</a>
    </div>
    
    <script src="js/vconsole.min.js"></script>
    <script>
        new VConsole();
    </script>
</body>
</html>
